<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="Let's do it is a simple to-do list and task manager">
	<meta name="keywords" content="html,css,javascript,to-do,task-list">
	<link rel="icon" type="image/ico" href="favicon.ico">
	<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
		integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
	<link type="text/css" rel="stylesheet" href="style.css">
	<link rel="preconnect" href="https://fonts.googleapis.com">
	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
	<link href="https://fonts.googleapis.com/css2?family=Merienda&family=Poppins:wght@500&display=swap"
		rel="stylesheet">
	<link rel="preconnect" href="https://fonts.googleapis.com">
	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
	<link href="https://fonts.googleapis.com/css2?family=Merienda&family=Poppins:wght@500&display=swap"
		rel="stylesheet">
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
	<link rel="stylesheet" href="style.css">
	<title>Let's Do It | ToDo List </title>
</head>

<body>
	<header>
		<div class="container">
			<div class="row">
				<div class="col-12">
					<h1>任务清单</h1>
				</div>
			</div>
		</div>
	</header>
	<main>
	<div class="main2">
		<br>
		<div class="container mt-3">
			<h4>添加任务</h4>

			<label id="lblsuccess" class="text-success" style="display: none;">
			</label>

			<form id="addForm">
				<div class="row">
					<div class="col-lg-11 col-md-7 col-sm-7">
						<input type="text" onkeyup="toggleButton(this, 'submit')" class="form-control" id="item">
					</div>

					<div class="col-lg-1 col-md-5 col-sm-5 mt-xs-2 mt-md-0">
						<input type="submit" class="btn " id="submit" value="添加" disabled>
					</div>
				</div>
			</form>

			<h4 class="mt-4">你的任务</h4>

			<form id="addForm">
				<ul class="list-group" id="items"></ul>
				
			</form>

			<h4 class="mt-4">任务完成</h4>

			<form id="completeForm">
				<ul class="list-group" id="completedItems"></ul>
				<br>
			</form>
		</div>
		<br>
		<br>
	</div>
	</main>
	<script src="app.js" async></script>
</body>

</html>
